
<!--  header -->
<%@ include file="../layouts/header.jsp"%>

<!--  body -->
<div class="Main">
	<div class="Main_fix">


		<%@ include file="../layouts/left.jsp"%>

		<!-- main body -->
		 
			<div class="Main_body" id="Main_body">
				<div class="Main_locationBar">
					<div class="Main_locationBar_head"></div>
					<div class="Main_locationBar_body">
						<span id="CurrentPosition"><fmt:message key="project.name"/> > ${model}</span>
					</div>
					<div class="Main_locationBar_foot"></div>
				</div>


				<div class="Main_bodyAddBar">
					<div class="Main_bodyAddBar_body">
					<c:if test="${sy}flash['message']!=null}">
					<li>
						<fmt:message key="${sy}flash['message']}"/>
					</li>
					</c:if>
					
					<table border="0" cellspacing="1" cellpadding="0" class="addTable">
					<#list items as item>
					<tr>
						<#list item as v>
						<td class="title">
						<#if v?exists>
							 ${v}:	
						</#if>		
						</td>
						<td class="content">
							  <#if v?exists>
						      ${sy}${model.lowerCaseFirst}.${v.lowerCaseFirst}}	
							  </#if>											
						</td>
						</#list>
					</tr>
					</#list>
					<tr>
						<td class="title">
							 Updated At						
						</td>
						<td class="content">
							 ${sy}${model.lowerCaseFirst}.updatedAt}						
						</td>
						<td class="title">
							 Created At		
						</td>
						<td class="content">
							  ${sy}${model.lowerCaseFirst}.createdAt}
						</td>
					</tr>
				   </table>	   
			  		</div>
				</div>

				<div class="Main_buttonGroupBar_body">
          			<input type="button" class="button" value="<fmt:message key="form.button.edit"/>" onclick="window.location = '<j:href controller="${model.lowerCaseFirst}" action="edit" oid="${sy}${model.lowerCaseFirst}.id}"/>'"/> 
          			<input type="button" class="button" value="<fmt:message key="form.button.list"/>" onclick="window.location = '<j:href controller="${model.lowerCaseFirst}" action="index"/>'"/>
        		</div>
			</div>
		 
	</div>
	<!--  footer -->
	<%@ include file="../layouts/footer.jsp"%>